package com.smart.yun.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(name = "mobile-api")
public interface MobileApiClient {
    @RequestMapping(value = "/mobileapi/check",method = RequestMethod.GET)
    String check(@RequestParam String code, @RequestParam String state);
}
